package com.example.goods_manage.mapper;

import com.example.goods_manage.dto.User;
import org.apache.ibatis.annotations.Mapper;

/**
 * <P> @Author: SongKeCheng
 * <P> Description:
 * <P> Type: Interface
 * <P> Date: 2024/7/18:9:27
 */
public interface UserMapper {

    /**
     * 根据账号查询 用户
     */
    public User findUserByAccount(User user);

    /**
     * 根据 id 查询 用户
     */
    User findUserById(Integer uid);
}
